import { formConfig, setformList } from '@/assembly/config.js'
import component from './index.vue'

const config = {
  type: 'switch',
  isLabel:true,
  component,
  order: 2,
  id: Date.now(),
  config: {},
  formConfig: {
    ...formConfig,
    formList: setformList('开关', [
      {
        label: '左边值',
        type: 'input',
        key: 'inactiveValue',
        default: 'true',
        span: 24,
      },
      {
        label: '右边值',
        type: 'input',
        key: 'activeValue',
        default: 'false',
        span: 24,
      },
    ]),
  }

}

export default config